import { Router } from 'express';

import Valid from '../../middleware/validation';
import { list } from './api';

const router = Router();

// 获取应用列表 GET:/api/application
router.get('/', Valid.query(list.validator), list.api);

export default router;
